home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / advset14.zip / ASET.TXT < prev    next >
Text File  |  1995-03-15  |  3KB  |  84 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                     Advanced Set v1.4 for DOS
  9.  
  10.  
  11.               By K.F.Soft, Denmark, (C) March 1995.
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. Usage of this program is free. The program may not be sold. It can be 
  20. distributed in the original ZIP-file at no charge.
  21. Advanced Set is distributed as is, without any express or implied warranty.
  22.  
  23. Comments, bugs and suggestions to kf@mmf.ruc.dk
  24.  
  25.  
  26.                               Purpose
  27.  
  28. Advanced Set enhances the capabilities of the dos SET command.
  29. With ASET it is possible to append to, delete from, rename etc. the 
  30. strings in the dos environment.
  31. You can change variables from upper to lower case or opposite. 
  32. The names and values can be read from standard input.
  33. Furthermore you can use ASET to create variables with lower case letters, 
  34. ie. variables unreachable by the set command. 
  35. This is also useful in combination with Windows where the environment 
  36. variable "windir" determines the directory for the .ini-files. If you 
  37. set windir BEFORE starting windows, it will use that value. That way 
  38. you don't need to have win.com in each user's windir.
  39.  
  40.  
  41.                                Usage
  42.  
  43. ASET [Options] [/Operation] [parameters ...]                 
  44.  
  45. Operations and parameters:    What it does:                  
  46.                               Show environment and status    
  47.   name                        Show value of name             
  48.   name=                       Delete name                    
  49.   name=value                  Set name to xxxx               
  50.   /R name1 name2              Rename name1 to name2          
  51.   /C name1 name2              Copy name1 to name2            
  52.   /A name value               Append xxxx to name            
  53.   /P name value               Prepend xxxx to name         
  54.   /D name value               Delete xxxx from name          
  55.   /S                          Show environment status        
  56.   /E                          Show environment variables     
  57.   /H or /?                    Show this help screen          
  58.  
  59. Options:                                                     
  60.   /U                      Case sensitive variable names  
  61.   /Xy name                    Change case for value of name  
  62.     y=1 To all lower case     y=2 To all upper case          
  63.     y=3 First letter uppercase                               
  64.  
  65. Value replaced by %I will read value from standard in
  66.  
  67. Returns errorlevel:     
  68.   Errorlevel 0 = OK    
  69.   1 = name not found
  70.   2 = no space for name
  71.  
  72.  
  73.                   Examples
  74.  
  75. ASET /c PATH OLDPATH      Copies PATH string to variable OLDPATH. 
  76.  
  77. ASET /d PATH ;C:\NETWORK  Removes the string ';C:\NETWORK' from PATH.
  78.  
  79. ASET /a TEMP \02          Appends '\02' to the TEMP string.
  80.  
  81. ASET /p /u test %I        Prepends a string from standard in to test.
  82.  
  83. ASET /X2 TEST=%test%      (In batch file) Change variable TEST to uppercase.
  84.